import os
import logging

logging.getLogger().setLevel(logging.DEBUG)

def main():
  print "Content-Type: text/plain"
  logging.debug("A user is caring the env.")    
  for name in os.environ.keys():
    print("%s = %s" % (name, os.environ[name]))

if __name__ == "__main__":
  main()